<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
    <meta charset="utf-8">
    <title>借用记录</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/bootstrap.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/AdminLTE.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/pagination.css">
    <script src="${pageContext.request.contextPath}/js/jquery.min.js"></script>
    <script src="${pageContext.request.contextPath}/js/bootstrap.js"></script>
    <script src="${pageContext.request.contextPath}/js/pagination.js"></script>
    <script src="${pageContext.request.contextPath}/js/my.js"></script>
</head>
<body class="hold-transition skin-red sidebar-mini">
<!--数据展示头部-->
<div class="box-header with-border">
    <h3 class="box-title">借用记录</h3>
</div>
<!--数据展示头部-->
<!--数据展示内容区-->
<div class="box-body">
    <!-- 数据表格 -->
    <table id="dataList" class="table table-bordered table-striped table-hover dataTable text-center">
        <thead>
        <tr>
            <th class="sorting_asc">编号</th>
            <th class="sorting">工具名称</th>
            <th class="sorting">借用人</th>
            <th class="sorting">借用时间</th>
            <th class="sorting">归还时间</th>
        </tr>
        </thead>
        <tbody>
        <c:forEach items="${pageResult}" var="record">
            <tr>
                <td> ${record.id}</td>
                <td>${record.toolname}</td>
                <td>${record.borrower}</td>
                <td>${record.borrowtime}</td>
                <td>${record.remandtime}</td>

            </tr>
        </c:forEach>
        </tbody>
    </table>

</div>
<!-- 数据展示内容区/ -->
<%--引入存放模态窗口的页面--%>

</body>
</html>
